import axios from 'axios';

const api =
  process.env.NODE_ENV === 'production'
    ? 'https://kamy-yfy.xyz/api'
    : '/devServer/api';
axios.defaults.baseURL = api;

export default axios;
